; StyleScript.cfg
; Please use this format when creating your own style scripts.

; Emulating:	JBBot Final Version (by iago[e1]/iago[vL])
; Author:	Trust[e1]
; Email:	truste1@gmail.com
; Website:	http://www.clan-e1.net

; Use 'copy' trigger to make "shortcuts" to text (most useful for colors).
; Colors are in blue green red order (hex).  Put &h infront of 6-digit color identifiers.
; &hNAMECO is a special identifier for other user's name, which will display color based on flags.  Specify flag colors with 'nameco' trigger.

; Variables (used in 'event' trigger):
; %1 - Event id
; %2 - Name field of event
; %3 - Text field of event
; %4 - Product for showuser, join; otherwise blank
; %5 - Parsed stats for showuser, join; otherwise blank
; %6 - Flags field of event
; %7 - Flags field of event (in hex)
; %8 - Ping field of event
; %9 - Ping field of event (in hex)
; %10 - Described channel flags


; Timestamp.  /time/ is an internal identifier to insert stamp
timestamp [/time/]  
timestamp color /WHITE/
timestamp format HH:MM:SS

; Shortcut to internal color identifiers
copy /NAME/ &hNAMECO
copy /SELF/ &hMYNAME

; Panda Chat color map
copy /WHITE/ &hFFFFFF
copy /GREY/ &H808080
copy /YELLOW/ &h00FFFF
copy /RED/ &h0000FF
copy /GREEN/ &h00FF00

nameco name /WHITE/	; Non-self no-flagged name (used in user list)
nameco self /WHITE/	; Self name (also used in user list)
nameco 1 /WHITE/	; Blizzard Employee
nameco 2 /WHITE/	; Channel Operator
nameco 4 /WHITE/	; Speaker
nameco 8 /WHITE/	; Battle.net System Administrator
nameco &h20 /WHITE/	; Squelched

; Chat events (0 is self-talk)

event 0 /yellow/<%2> /white/%3
event 1 /green/%2 is in the channel (%5)
event 2 /green/%2 entered the channel (%5)
event 3 /green/%2 has left the channel.
event 4 /grey/<From: %2> %3
event 5 /yellow/<%2> /white/%3
event 6 /yellow/Server broadcast from %2: %3
event 7 /green/Joining channel: %3
event 10 /grey/<To: %2> %3
event &h12 /yellow/%3
event &h13 /red/%3
event &h17 /yellow/<%2 %3>